package com.wl2o2o.lanqiao;

import java.util.Calendar;

/** 
* @author : WLei224
* @date ：2023年3月23日 下午7:20:39 
* 
*/
public class 小兰跑步 {
	public static void main(String[] args) {
		int week = 0;
		int km = 0;
		Calendar calendar = Calendar.getInstance();
		calendar.set(2000, 0, 1);
		for(;;) {
			if(calendar.get(Calendar.DAY_OF_WEEK) == 2 || calendar.get(Calendar.DAY_OF_MONTH) == 1) {
				km+=2;
			} else {
				km++;
			}
			if(calendar.get(Calendar.YEAR) == 2020 && calendar.get(Calendar.MONTH) == 9  &&  calendar.get(Calendar.DATE) == 1) {
				break;
			}
			calendar.add(Calendar.DATE, 1);
			if(calendar.get(Calendar.YEAR) == 2001 ||calendar.get(Calendar.YEAR) == 2005 ||  calendar.get(Calendar.YEAR) == 2010 ||  calendar.get(Calendar.YEAR) == 2015 || calendar.get(Calendar.YEAR) == 2020) {
				System.out.println("狗男人！！！");
			}
		}
		System.out.println(km);
	}
}
